package ZY10_22.Pet;

public class Cat extends Pet{
    public void show(){
        super.show();
        tree();
    }

    public void  tree(){
        System.out.println(super.getName()+"会爬树");
    }
    public Cat() {
    }

    public Cat(String name, String variety, int weight) {
        super(name, variety, weight);
    }
}
